home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
bison.man
< prev
next >
Wrap
Text File
|
1988-12-29
|
3KB
|
133 lines
BISON User Commands BISON
NNAAMMEE
bison - GNU Project parser generator (yacc replacement)
SSYYNNOOPPSSIISS
bbiissoonn [ --ddllvvttyy ] file
DDEESSCCRRIIPPTTIIOONN
_B_i_s_o_n is a parser generator in the style of _y_a_c_c(1). It
should be upwardly compatible with input files designed for
_y_a_c_c.
Input files should follow the _y_a_c_c convention of ending in
``.y''. Unlike _y_a_c_c, the generated files do not have fixed
names, but instead use the prefix of the input file. For
instance, a grammar description file named ppaarrssee..yy would
produce the generated parser in a file named ppaarrssee..ttaabb..cc,
instead of _y_a_c_c's yy..ttaabb..cc.
_B_i_s_o_n takes five optional flags.
--dd Produce a ..ttaabb..hh file, similar to _y_a_c_c's yy..ttaabb..hh file.
--ll Omit ##lliinnee lines in the parser output file. Error mes-
sages from the C compiler will then be associated with
lines in the parser output file, instead of lines in
the original grammar file.
--tt Turn on debugging. This option causes the _b_i_s_o_n output
to have debugging code made available via the C pre-
processor. The external variable yyyyddeebbuugg should be
made non-zero to have the debugging code actually pro-
duce output.
--vv Be verbose. Analogous to the same flag for _y_a_c_c.
--yy Use fixed output file names. I.e., force the output to
be in files yy..ttaabb..cc, yy..ttaabb..hh, and so on. This is for
full _y_a_c_c compatibility.
If _b_i_s_o_n is invoked with the name _y_a_c_c, it will behave like
_y_a_c_c does. This is equivalent to simply supplying the --yy
flag.
FFIILLEESS
/usr/local/lib/bison.simple simple parser
/usr/local/lib/bison.hairy complicated parser
SSEEEE AALLSSOO
_y_a_c_c(1)
The _B_i_s_o_n _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, included as the file
bbiissoonn..tteexxiinnffoo in the _b_i_s_o_n source distribution.
Sprite v1.0 local 1
BISON User Commands BISON
DDIIAAGGNNOOSSTTIICCSS
``Self explanatory.''
Sprite v1.0 local 2